设置AIO
异步文件读写的线程数量,默认为2
关闭/开启Swoole
错误信息,默认开启
设置进程间通信的Socket
缓存区尺寸,默认为8M
swoole_server中的task功能中是否使用swoole_serialize对异步任务数据序列化
是否启用短别名。
下划线类名风格 | 命名空间风格 |
---|---|
swoole_server | Swoole\Server |
swoole_client | Swoole\Client |
swoole_process | Swoole\Process |
swoole_timer | Swoole\Timer |
swoole_table | Swoole\Table |
swoole_lock | Swoole\Lock |
swoole_atomic | Swoole\Atomic |
swoole_buffer | Swoole\Buffer |
swoole_redis | Swoole\Redis |
swoole_event | Swoole\Event |
swoole_mysql | Swoole\MySQL |
swoole_mmap | Swoole\Mmap |
swoole_channel | Swoole\Channel |
swoole_serialize | Swoole\Serialize |
swoole_http_server | Swoole\Http\Server |
swoole_http_client | Swoole\Http\Client |
swoole_http_request | Swoole\Http\Request |
swoole_http_response | Swoole\Http\Response |
swoole_websocket_server | Swoole\WebSocket\Server |
需要swoole-1.8.1或更高版本